/* Hero Section Styles */

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

/* Aurora Background */
.aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.4) 0%, rgba(138, 43, 226, 0) 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 191, 255, 0.35) 0%, rgba(0, 191, 255, 0) 70%),
        radial-gradient(ellipse at 50% 80%, rgba(50, 205, 50, 0.3) 0%, rgba(50, 205, 50, 0) 65%),
        linear-gradient(135deg, #1a2a4e 0%, #2d4a7c 100%);
    background-blend-mode: overlay, screen, hard-light;
    overflow: hidden;
    animation: aurora-drift 25s infinite alternate ease-in-out;
}

.aurora-container::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 60px);
    animation: grid-shift 20s linear infinite;
}

.aurora-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 70%, rgba(26, 42, 78, 0.6) 100%);
    animation: aurora-pulse 8s infinite alternate;
}

@keyframes aurora-drift {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        background-position: -10% -5%, 5% 10%, 0% 15%;
        filter: hue-rotate(30deg) brightness(1.2);
    }
    100% {
        background-position: 5% 10%, -10% -5%, 15% 0%;
        filter: hue-rotate(60deg) brightness(1);
    }
}

@keyframes grid-shift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes aurora-pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin-top: 60px;
}

.hero-text {
    margin-bottom: 1rem;
}

.hero-logo {
    margin-bottom: 1rem;
}

.hero-logo img {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

/* Hero Features List */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    text-align: right;
    opacity: 0;
    animation: slideInFeature 0.6s ease forwards;
}

html[dir="ltr"] .hero-features li {
    text-align: left;
}

/* Animation delays for each item */
.hero-features li:nth-child(1) { animation-delay: 0.2s; }
.hero-features li:nth-child(2) { animation-delay: 0.4s; }
.hero-features li:nth-child(3) { animation-delay: 0.6s; }
.hero-features li:nth-child(4) { animation-delay: 0.8s; }
.hero-features li:nth-child(5) { animation-delay: 1s; }
.hero-features li:nth-child(6) { animation-delay: 1.2s; }

/* RTL: slide from right */
@keyframes slideInFeature {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* LTR: slide from left */
html[dir="ltr"] .hero-features li {
    animation-name: slideInFeatureLTR;
}

@keyframes slideInFeatureLTR {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-features li i {
    font-size: 1.2rem;
    color: #4ade80;
    flex-shrink: 0;
}

.hero-features li span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #C1272D 0%, #a01f24 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(193, 39, 45, 0.5);
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-logo img { max-width: 200px; }
    .hero-subtitle { font-size: 1.5rem; }
    .hero-description { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .hero-content { padding: 1.5rem; margin-top: 80px; }
    .hero-logo img { max-width: 180px; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-features { grid-template-columns: 1fr; max-width: 400px; }
    .hero-features li span { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .hero-logo img { max-width: 150px; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-features li span { font-size: 0.85rem; }
    .hero-features li i { font-size: 1rem; }
    .hero-scroll-indicator { display: none; }
}
